package com.sy.entity;

import java.util.Date;

public class Homework {
    private Integer id;
    private Integer tno;
    private String title;
    private String content;
    private String className;
    private String grade;
    private String remark;
    private String filepath;
    private Date createDate;


    public Homework() {
    }

    public Homework(Integer id, Integer tno, String title, String content, String className, String grade, String remark, String filepath, Date createDate) {
        this.id = id;
        this.tno = tno;
        this.title = title;
        this.content = content;
        this.className = className;
        this.grade = grade;
        this.remark = remark;
        this.filepath = filepath;
        this.createDate = createDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTno() {
        return tno;
    }

    public void setTno(Integer tno) {
        this.tno = tno;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Homework{" +
                "id=" + id +
                ", tno=" + tno +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", className='" + className + '\'' +
                ", grade='" + grade + '\'' +
                ", remark='" + remark + '\'' +
                ", filepath='" + filepath + '\'' +
                ", createDate=" + createDate +
                ", grade='" + grade + '\'' +
                '}';
    }
}
